package io.github.talelin.latticy.repository;

import io.github.talelin.latticy.entity.Document;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface DocumentRepository extends JpaRepository<Document, Long> {

    Page<Document> findByOrderBySortDesc(Pageable pageable);
}
